package com.woniuxy01;

import java.util.Arrays;

/**
 * @author 作者
 * @create 2025-05-29 9:32
 */
public class Test01 {

    public static void main(String[] args) {
        int[] arr={1,2,3,4,5};
        //匿名对象
        System.out.println(new MyUtil().arrayToString(arr));

        MyUtil myUtil = new MyUtil();
        System.out.println(myUtil.arrayToString(arr));

        System.out.println(Arrays.toString(arr));

        int[] a=null;
        System.out.println(a);
        int[] b=new int[0];
        System.out.println(b);
        System.out.println(b[0]);
    }
}
